<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
	<title>晒图列表</title>
</head>
<body>
<table>
   <thead>
	<tr>
		<th>晒图编号</th>
		<th>图片</th>
		<th>内容</th>
		<th>发布时间</th>
        <th>地址</th>
        <th>发布人id</th>
		<th>操作</th>
	</tr>
   </thead>

   <tbody>      
         <?php if(is_array($index)): $i = 0; $__LIST__ = $index;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                    <td><?php echo ($vo["s_id"]); ?></td>
                    <td><?php echo ($vo["s_pic"]); ?></td>
                    <td><?php echo ($vo["s_content"]); ?></td>
                    <td><?php echo ($vo["s_date"]); ?></td>
                    <td><?php echo ($vo["s_address"]); ?></td>
                    <td><?php echo ($vo["user_id"]); ?></td>
                    
                    
                    <td>
                    	<div>
                      
                        <ul>
                       
                        <a href="delshow/s_id/<?php echo ($vo["s_id"]); ?>" onclick="return confirm('你确定要删除吗？')">
                        <i class="icon-trash"></i>删除</a>
                        </ul>
                      </div>
                    </td>
                    
                      

                 
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>      
   </tbody>
</table>

</body>
</html>